package com.t3rik.mes.emp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.t3rik.common.annotation.Excel;
import com.t3rik.common.core.domain.BaseEntity;
import com.t3rik.common.enums.EnableFlagEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
* 员工考勤记录（手动记录）对象 emp_attendance_record
*
* @author ykh
* @date 2025-02-18
*/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "emp_attendance_record")
public class EmpAttendanceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自增 */
    @TableId
    private Long id;


    /** 员工id */
    @Excel(name = "员工id")
    private Long userId;


    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String userName;


    /** 白班天数 */
    @Excel(name = "白班天数")
    private Long dayCount;


    /** 夜班天数 */
    @Excel(name = "夜班天数")
    private Long nightCount;


    /** 逻辑删除字段 0:未删除 1:已删除 */
    @Excel(name = "逻辑删除字段 0:未删除 1:已删除")
    private Long deleted;


    /** 逻辑删除辅助字段 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "逻辑删除辅助字段", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteAt;

}
